﻿using System.Threading.Tasks;
using com.IronOne.BoardPACWinAppUtil.Enums;

namespace com.IronOne.BoardPACWinApp.Helpers
{
    public interface IDialogService
    {
        Task ShowMessage(string message);

        /// <summary>
        /// </summary>
        /// <param name="message"></param>
        /// <param name="command"></param>
        /// <returns></returns>
        Task<bool> ShowMessageYesNo(string message, DefaultButtonCommand command);

        /// <summary>
        /// </summary>
        /// <param name="message"></param>
        /// <param name="command"></param>
        /// <returns></returns>
        Task<bool> ShowMessageRestartCancel(string message, DefaultButtonCommand command);

        /// <summary>
        /// </summary>
        /// <param name="message"></param>
        /// <param name="defCommand"></param>
        /// <param name="yesText"></param>
        /// <param name="noText"></param>
        /// <param name="cancelText"></param>
        /// <returns></returns>
        Task<bool?> ShowMessageYesNoCancel(string message, DefaultButtonCommand defCommand, string yesText = "Yes",
            string noText = "No", string cancelText = "Cancel");
    }
}